Skip to content

[3.15] gh-152785: Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions (#152717)#153416

Merged
hugovk merged 1 commit into
python:3.15from
vstinner:ubuntu26_04_15
Jul 10, 2026
Merged

[3.15] gh-152785: Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions (#152717)#153416
hugovk merged 1 commit into
python:3.15from
vstinner:ubuntu26_04_15

Conversation

@vstinner

@vstinner vstinner commented Jul 9, 2026

Copy link
Copy Markdown
Member
  • Replace "ubuntu-24.04" with "ubuntu-26.04".
  • Replace "ubuntu-latest" with "ubuntu-26.04" for Cross build Linux.
  • Replace "ubuntu-latest" with "ubuntu-slim" for small workloads.
  • Update ".github/actionlint.yaml" to allow "ubuntu-26.04" and "ubuntu-26.04-arm" images.
  • Install Ubuntu libmpdec-dev package, rather than installing libmpdec from source (tarball).
  • No longer run https://apt.llvm.org/llvm.sh, since ubuntu-26.04 provides clang-21 by default.

(cherry picked from commit 4c79929)

…python#152717)

* Replace "ubuntu-24.04" with "ubuntu-26.04".
* Replace "ubuntu-latest" with "ubuntu-26.04" for Cross build Linux.
* Replace "ubuntu-latest" with "ubuntu-slim" for small workloads.
* Update ".github/actionlint.yaml" to allow "ubuntu-26.04"
  and "ubuntu-26.04-arm" images.
* Install Ubuntu libmpdec-dev package, rather than installing libmpdec
  from source (tarball).
* No longer run https://apt.llvm.org/llvm.sh, since ubuntu-26.04 provides
  clang-21 by default.

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 4c79929)
@vstinner

vstinner commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

I mark this draft until I see the CI jobs passing on the PR.

@vstinner vstinner marked this pull request as ready for review July 9, 2026 12:31
@vstinner

vstinner commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

@hugovk: So here is a backport for 3.15. If it's merged, it will be backported to 3.14.

@hugovk hugovk merged commit da999e6 into python:3.15 Jul 10, 2026
91 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @vstinner for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@hugovk

hugovk commented Jul 10, 2026

Copy link
Copy Markdown
Member

Thanks!

@miss-islington-app

Copy link
Copy Markdown

Sorry, @vstinner and @hugovk, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker da999e638c03a05ed2b0f8a828f4013c7f9179bd 3.14

@vstinner vstinner deleted the ubuntu26_04_15 branch July 10, 2026 18:42
@bedevere-app

bedevere-app Bot commented Jul 10, 2026

Copy link
Copy Markdown

GH-153526 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 10, 2026
vstinner added a commit that referenced this pull request Jul 11, 2026
#152717) (#153416) (#153526)

* [3.15] gh-152785: Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions (#152717) (#153416)

gh-152785: Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions (#152717)

* Replace "ubuntu-24.04" with "ubuntu-26.04" on most jobs.
* Replace "ubuntu-latest" with "ubuntu-26.04" for Cross build Linux.
* Replace "ubuntu-latest" with "ubuntu-slim" for small workloads.
* Update ".github/actionlint.yaml" to allow "ubuntu-26.04"
  and "ubuntu-26.04-arm" images.

Backport changes:

* Keep Ubuntu 24.04 and llvm.sh to install LLVM 19 and LLVM 20.
* WASI uses ubuntu-26.04, not ubuntu-26.04-arm.

(cherry picked from commit 4c79929)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit da999e6)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants